package com.zc.study.designPattern.创建型设计模式.factoryPattern.moreFactory;

public class FactoryTest {
    public static void main(String[] args){
            MyFactory factory = new MyFactory();
            MyInterface myi = factory.produceOne();
            MyInterface myt = factory.produceTwo();
            myi.print();
            myt.print();
        }
    }

